package dao;

//Class that represents a database tuple in memory
public class BirdVO {
	
	//Private variables
	private String scientific_name;
	private String risk_of_extinction;
	private String imageurl;
	private float weight;
	private String habitat;
	private float incubationtime;
	private float longevity;
	private String color;
	private float size;
	private float clutchsize;
	private String diet;
	
	//Class constructor with all elements
	public BirdVO(String scientific_name, String risk_of_extinction, String imageurl, float weight, String habitat, float incubationtime, float longevity, String color, float size, float clutchsize, String diet){
		this.setScientific_name(scientific_name);
		this.setRisk_of_extinction(risk_of_extinction);
		this.setImageurl(imageurl);
		this.setWeight(weight);
		this.setHabitat(habitat);
		this.setIncubationtime(incubationtime);
		this.setLongevity(longevity);
		this.setColor(color);
		this.setSize(size);
		this.setClutchsize(clutchsize);
		this.setDiet(diet);
	}
	
	//Class constructor with no elements
	public BirdVO(){
		setScientific_name(null);
		setRisk_of_extinction(null);
		setImageurl(null);
		setWeight(0);
		setHabitat(null);
		setIncubationtime(0);
		setLongevity(0);
		setColor(null);
		setSize(0);
		setClutchsize(0);
		setDiet(null);
	}

	//Getters and Setters
	public String getScientific_name() {
		return scientific_name;
	}

	public void setScientific_name(String scientific_name) {
		this.scientific_name = scientific_name;
	}

	public String getImageurl() {
		return imageurl;
	}

	public void setImageurl(String imageurl) {
		this.imageurl = imageurl;
	}

	public String getRisk_of_extinction() {
		return risk_of_extinction;
	}

	public void setRisk_of_extinction(String risk_of_extinction) {
		this.risk_of_extinction = risk_of_extinction;
	}

	public float getWeight() {
		return weight;
	}

	public void setWeight(float weight) {
		this.weight = weight;
	}

	public float getIncubationtime() {
		return incubationtime;
	}

	public void setIncubationtime(float incubationtime) {
		this.incubationtime = incubationtime;
	}

	public String getHabitat() {
		return habitat;
	}

	public void setHabitat(String habitat) {
		this.habitat = habitat;
	}

	public float getLongevity() {
		return longevity;
	}

	public void setLongevity(float longevity) {
		this.longevity = longevity;
	}

	public float getSize() {
		return size;
	}

	public void setSize(float size) {
		this.size = size;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public float getClutchsize() {
		return clutchsize;
	}

	public void setClutchsize(float clutchsize) {
		this.clutchsize = clutchsize;
	}

	public String getDiet() {
		return diet;
	}

	public void setDiet(String diet) {
		this.diet = diet;
	}
	
	
}
